package com.cleaningcloud.cld.service.mini;

import com.cleaningcloud.cld.domain.CldTemporary;
import com.cleaningcloud.cld.domain.CldTemporaryReply;
import com.cleaningcloud.cld.domain.dto.CldAssetsRecordDto;
import com.cleaningcloud.cld.domain.vo.CldAssetsRecordVo;
import com.cleaningcloud.cld.domain.vo.CldAssetsRepairVo;
import com.cleaningcloud.cld.domain.vo.CldComplaintsVo;
import com.cleaningcloud.cld.domain.vo.CldTemporaryVo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Author Shaw
 * @Description 临时工作安排
 * @date: 2025-06-19 9:28
 * @param: //TODO
 */ 
public interface IMiniTemporaryService {

    /**
     * @Author Shaw
     * @Description 新增临时工作安排
     * @date: 2025-06-19 9:26
     * @param: //TODO
     */
    int insertCldTemporary(CldTemporary cldTemporary);

    /**
     * @Author Shaw
     * @Description 获取临时工作安排列表
     * @date: 2025-06-19 9:45
     * @param: //TODO
     */
    List<CldTemporaryVo> getTemporaryList(CldTemporaryVo cldTemporaryVo);

    /**
     * @Author Shaw
     * @Description 根据工作安排ID查看详情
     * @date: 2025-06-19 10:40
     * @param: //TODO
     */
    CldTemporaryVo getTemporaryInfo(Long temporaryId);

    /**
     * @Author Shaw
     * @Description  下发整改
     * @date: 2025-06-19 10:40
     * @param: //TODO
     */
    int IssueRectification(CldTemporaryVo cldTemporaryVo);

    /**
     * @Author Shaw
     * @Description 立即反馈
     * @date: 2025-06-20 9:33
     * @param: //TODO
     */
    int insertCldTemporaryReply(CldTemporaryReply cldTemporaryReply);

    /**
     * @Author Shaw
     * @Description 立即反馈
     * @date: 2025-06-20 9:33
     * @param: //TODO
     */
    int auditTemporary(CldTemporaryVo cldTemporaryVo);
}
